package cn.wolfcode.crm.service;


import java.util.List;

import cn.wolfcode.crm.domain.ExchangeGift;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

public interface IExchangeGiftService{
    /*
    * 兑换积分
    * 参数为会员卡号和兑换消耗总积分
    * */
    void change(Long cardno, Long totalCount,Long giftId);

    /**
     * 分页查询
     * @param qo 分页参数对象
     * @return
     */
    PageResult query(QueryObject qo);

    List<ExchangeGift> list();
}
